<?php

namespace App\Models\Wanggui;

use App\Models\BaseModel;
use App\Models\Traits\KfUid;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class WangguiCollectionDotModel extends BaseModel
{
    use HasFactory, KfUid;

    protected $table = 'wanggui_collection_dots';

    protected $fillable = [
        'wgNumber',
        'type',
        'createdAt',
        'createdByUid',
        'updatedAt',
        'updatedByUid',
    ];

    const COLLECTION_ON  = 1;
    const COLLECTION_OFF = 0;

    const COLLECTION_MAPPING = [
        self::COLLECTION_ON  => '已收藏',
        self::COLLECTION_OFF => '未收藏'
    ];

}
